package com.rollsheet.common;

import lombok.Getter;
import lombok.Setter;

public class AppInformation {
	public enum Source {
		ANDROID("android", 1), IOS("iphone", 2), IPAD("白色", 3);
		// 成员变量
		private String name;
		private int index;

		// 构造方法
		private Source(String name, int index) {
			this.name = name;
			this.index = index;
		}

		// 覆盖方法
		@Override
		public String toString() {
			return this.index + "_" + this.name;
		}
	}

	@Getter
	@Setter
	private String versionCode;
	@Getter
	@Setter
	private String versionName;
	@Getter
	@Setter
	private Source source;
	@Getter
	@Setter
	private String guid;
}
